import * as types from '../../mutation-types/b2c-products/index';

const state = {
    productsList: [],
    currentPage: 1,
    total: 0
};

const mutations = {
    [types.PRODUCTSLIST] (state, {productsList}) {
        state.productsList = productsList;
    }
};

export default {
  state,
  mutations
};
